clear
insheet using "recletteroutcomes.csv"
tabulate treatment, generate(treatment_d)
rename treatment_d3 Male
rename treatment_d2 Female_exogenous
rename treatment_d1 Female_endogenous

* Means and standard errors for Figure VII
mean answer if question=="wage" & Male==1
mean answer if question=="wage" & Female_exogenous==1
mean answer if question=="wage" & Female_endogenous==1

mean answer if question=="next" & Male==1
mean answer if question=="next" & Female_exogenous==1
mean answer if question=="next" & Female_endogenous==1

************
* Table II *
************

* (1)
reg answer Female_endogenous if question=="next" & Female_exogenous==0, cluster(id)
* (2)
reg answer Female_endogenous  abilities leader standout agentic if question=="next" & Female_exogenous==0, cluster(id)
* (3)
reg answer Female_endogenous if question=="wage" & Female_exogenous==0, cluster(id)
* (4)
reg answer Female_endogenous  abilities leader standout agentic if question=="wage" & Female_exogenous==0, cluster(id)
